package scene01_Home;

import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import baseClass.Global;
import baseClass.Sprite_Default;

public class Sprite_DefaultOpacity
  extends Sprite_Default
{
  public Rect Rect1;
  public Rect Rect2;
  
  public Sprite_DefaultOpacity(int paramInt1, int paramInt2, int paramInt3, float paramFloat1, float paramFloat2, int paramInt4)
  {
    super(paramInt1, paramInt2, paramInt3, paramFloat1, paramFloat2);
    this.paint.setAlpha(paramInt4);
    this.Rect1 = new Rect();
    this.Rect2 = new Rect();
    this.Rect1.set(0, 0, this.bit_img.getWidth(), this.bit_img.getHeight());
    this.Rect2.set(0, 0, (int)(Global.GetInstance().getScreenWidth() * Global.GetInstance().dnst_w), (int)(Global.GetInstance().getScreenHeight() * Global.GetInstance().dnst_h));
  }
  
  public void DrawSprite(Canvas paramCanvas)
  {
    if ((this.visible) && (this.bit_img != null)) {
      paramCanvas.drawBitmap(this.bit_img, this.Rect1, this.Rect2, this.paint);
    }
  }
}


/* Location:           D:\Tool\AndroidKiller_v1.3.1\projects\petdesigner\ProjectSrc\classes-dex2jar.jar
 * Qualified Name:     scene01_Home.Sprite_DefaultOpacity
 * JD-Core Version:    0.7.0.1
 */